RankMath\Redirections\Redirection A

Total Complexity 60
Dependencies 5
Dependents 9
Total lines 449
Lines of code 205
Logical lines of code 107
Comment lines 182
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
sanitize_source_url()
A
49 9 29
pre_redirection_cache()
S
50 5 32
sanitize_source()
S
61 5 12
create()
S
56 3 18
add_source()
S
59 3 15
save_redirection_cache()
S
65 4 9
add_sources()
S
68 4 6
from()
S
61 3 13
save()
S
65 3 10
add_destination()
S
67 3 7
__construct()
S
68 3 7
has_sources()
S
78 2 3
sanitize_source_regex()
S
63 2 9
__get()
S
71 2 6
get_home_domain()
S
69 2 7
strip_subdirectory()
S
73 2 4
is_new()
S
82 1 3
set_nocache()
S
81 1 3
set_id()
S
80 1 3
get_id()
S
82 1 3
get_full_uri()
S
69 1 6